<?php
/**
 * This class contains the password. It generates a hash of the original and
 * stores that. It's supposed to be used mainly by the User class.
 */

class Password {
	protected $hash;
	
	public function __construct($password) {
		$this->hash = sha1($password);
	}
	
	public function getHash() {
		return $this->hash;
	}
}
?>
